package org.example.service.impl;

import org.example.feifan.datasource.entity.SysUserDto;
import org.example.feifan.datasource.mapper.SysUserMapper;
import org.example.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Donald
 * @create 2020-04-19 18:51
 */
@Service("sysUserServiceImpl3")
public class SysUserServiceImpl3 implements SysUserService {

    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public List<SysUserDto> findAll() {
        return sysUserMapper.findAll();
    }

    @Override
    public SysUserDto selectOne() {
        return sysUserMapper.selctOne();
    }

    @Override
    public SysUserDto queryOne() {
        return sysUserMapper.queryOne();
    }
}
